﻿$(function () {
    //qqb表情包
    $('#hv678emoji').qqFace({
        id: 'facebox', //表情盒子的ID
        assign: 'txtContent', //给哪个控件赋值
        path: '/ThirdParty/qqface/face/'    //表情图片存放的路径 
    }); 
});
//查看结果
function replace_em(str) {
    
    str = str.replace(/\[em_([0-9]*)\]/g, '<img src="/ThirdParty/qqface/face/$1.gif" border="0" />');
    return str;
}